package com.xmg.shop.api.service;

import com.xmg.shop.api.domain.Product;
import com.xmg.shop.api.page.PageResult;
import com.xmg.shop.api.query.ProductQueryObject;
import com.xmg.shop.api.vo.ProductVo;

import java.util.List;

public interface IProductService {
    Product getProduct(Long id);

    PageResult queryProduct(ProductQueryObject qo);

    List<Product> selectAll();

    Product get(Long id);

    void update(Product product);

    Product save(ProductVo vo);
}
